<template>
	<view>
		<view v-if="target_id">
			<Tipoff ref="tipoff" :type="type" :target_id="target_id" :jobname="jobname" :fullname="fullname"></Tipoff>
		</view>
	</view>
</template>
<script>
	import Tipoff from './components/Tipoff.vue'
	export default {
		data(){
			return {
				type:'',
				target_id:'',
				jobname:'',
				fullname:''
			}
		},
		components:{
			Tipoff
		},
		onLoad(option){
			let {type,target_id,jobname,fullname} = option
			console.log(type,target_id,jobname,fullname)  
			this.type = parseInt(type)   
			this.target_id = parseInt(target_id)   
			this.jobname = decodeURIComponent(jobname)  
			this.fullname = decodeURIComponent(fullname) 
		}
	}
</script>
<style>
	
</style>